<template>
  <div class="sjpz">
    <el-card>
      <div slot="header">
        <span>{{ this.$route.meta.title }}</span>
      </div>
      <el-form label-width="150px" label-position="right" :model="formData">
        <el-form-item label="审计数据存放：">
          <el-select v-model="formData.selectA">
            <el-option label="数据存入mysql数据库" value="1"> </el-option>
            <el-option label="数据存入oracle数据库" value="3"> </el-option>
            <el-option label="数据回传" value="2"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="流量数据统计：">
          <el-select v-model="formData.selectB">
            <el-option label="全部流量统计" value="1"> </el-option>
            <el-option label="仅统计5G流量" value="2"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="定时导入数据：">
          <el-select v-model="formData.selectC">
            <el-option label="每日" value="1"> </el-option>
            <el-option label="每周" value="2"> </el-option>
            <el-option label="每月" value="3"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="添加数据分类：">
          <el-select v-model="formData.selectD">
            <el-option label="信息类数据" value="1"> </el-option>
            <el-option label="分析统计数据" value="2"> </el-option>
            <el-option label="终端统计数据" value="3"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="历史数据：">
          <el-select v-model="formData.selectE">
            <el-option label="在日志中展示" value="1"> </el-option>
            <el-option label="只存入数据库" value="2"> </el-option>
            <el-option label="放于中间件" value="3"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="数据库选择：">
          <el-select v-model="formData.selectF">
            <el-option label="Mysql数据库" value="1"> </el-option>
            <el-option label="Oracle数据" value="2"> </el-option>
            <el-option label="Mssqlserver数据库" value="3"> </el-option>
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-button
            type="primary"
            style="width:15vw"
            @click="
              $message({
                showClose: true,
                message: '检查结果：数据一致',
                type: 'success'
              })
            "
          >
            数据一致性检查
          </el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formData: {
        selectA: '',
        selectB: '',
        selectC: '',
        selectD: '',
        selectE: '',
        selectF: ''
      }
    }
  }
}
</script>

<style lang="scss" scoped>
/deep/ .el-select {
  width: 300px;
}
</style>
